package number_operatation.nowcoder.easy;

/**
 * @author bruin_du
 * @description 二进制插入
 * https://www.nowcoder.com/practice/30c1674ad5694b3f8f0bc2de6f005490?
 * tpId=8&&tqId=11019&rp=1&ru=/activity/oj&qru=/ta/cracking-the-coding-interview/question-ranking
 * @date 2022/5/8 18:20
 **/
public class BinaryInsert {
    public int binInsert(int n, int m, int j, int i) {
        return n | (m << j);
    }
}
